package com.project_doctor.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.project_doctor.pojo.Status;
import com.project_doctor.service.StatusService;
import com.project_doctor.mapper.StatusMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
* @author xixif
* @description 针对表【t_status】的数据库操作Service实现
* @createDate 2025-06-06 17:36:13
*/
@Service
public class StatusServiceImpl extends ServiceImpl<StatusMapper, Status>
    implements StatusService{
    @Autowired
    private StatusMapper statusMapper;

    @Override
    public List<Status> getStatus(List<Integer> list) {
        LambdaQueryWrapper<Status> queryWrapper = new LambdaQueryWrapper<>();
        queryWrapper.notIn(Status::getId, list);
        return statusMapper.selectList(queryWrapper);
    }
}




